<!doctype html>
<html class="no-js fixed-layout">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>小米商城</title>

    <meta name="csrf-token" content="{{ csrf_token() }}">
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="/vendor/amazui/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/vendor/amazui/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="stylesheet" href="/vendor/amazui/css/amazeui.min.css"/>
    <link rel="stylesheet" href="/vendor/amazui/css/admin.css">
    <link rel="stylesheet" href="/vendor/nprogress/nprogress.css">
    <link rel="stylesheet" href="/css/admin/common.css">

    @yield('css')
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
    以获得更好的体验！</p>
<![endif]-->

        @include('layouts.shared._header')

<div class="am-cf admin-main">
    <!-- sidebar start -->
        @include('layouts.shared._sidebar')
    <!-- sidebar end -->

    <!-- content start -->
     @yield('content')
    <!-- content end -->

</div>

<a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu"
   data-am-offcanvas="{target: '#admin-offcanvas'}"></a>


<script src="/vendor/amazui/js/jquery.min.js"></script>
<script src="/vendor/amazui/js/amazeui.min.js"></script>
<script src="/vendor/amazui/js/app.js"></script>
<script src="/vendor/nprogress/nprogress.js"></script>
<script src="/js/common.js"></script>
<script src="/js/destroy.js"></script>

@yield('js')
<script>
    $(function () {
        $(document).ready(function () {
            NProgress.start();
        });
        $(window).on('load', function () {
            NProgress.done();
        });
    })
</script>
</body>
</html>
